//
//  Utils_mac.m
//  client Mac
//
//  Created by ema on 2018/8/25.
//

#include "Utils.h"
#if CC_TARGET_PLATFORM == CC_PLATFORM_MAC
std::vector<std::string> Utils::getCommandLineParam(){
    std::vector<std::string> vec;
    
    NSProcessInfo *proc = [NSProcessInfo processInfo];
    NSArray *args = [proc arguments];
    for(NSString * str in args){
        vec.push_back([str UTF8String]);
    }
    return vec;
}
#endif
